classes
functions
constants
header
<mutex>
Mutex
Header with facilities that allow mutual exclusion (mutex) of concurrent execution of critical sections of code, allowing to explicitly avoid data races.
It contains mutex types, lock types and specific functions:
Functions
- try_lock
- Try to lock multiple mutexes (function template)
- lock
- Lock multiple mutexes (function template)
- call_once
- Call function once (public member function)